package cn.iocoder.yudao.module.infra.embedding.impl.dashscope;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class DashScopeEmbeddingRes {
    private List<Embedding> data;

    @Data
    public static class Embedding {
        private int index;
        private List<Float> embedding;
    }
}
